function Ic(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function Mc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ds={exports:{}},sl={},ps={exports:{}},T={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Jn=Symbol.for("react.element"),Dc=Symbol.for("react.portal"),Uc=Symbol.for("react.fragment"),Bc=Symbol.for("react.strict_mode"),Ac=Symbol.for("react.profiler"),$c=Symbol.for("react.provider"),Vc=Symbol.for("react.context"),Wc=Symbol.for("react.forward_ref"),Hc=Symbol.for("react.suspense"),Qc=Symbol.for("react.memo"),Kc=Symbol.for("react.lazy"),Yo=Symbol.iterator;function Gc(e){return e===null||typeof e!="object"?null:(e=Yo&&e[Yo]||e["@@iterator"],typeof e=="function"?e:null)}var ms={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},hs=Object.assign,vs={};function sn(e,t,n){this.props=e,this.context=t,this.refs=vs,this.updater=n||ms}sn.prototype.isReactComponent={};sn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};sn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function gs(){}gs.prototype=sn.prototype;function Ji(e,t,n){this.props=e,this.context=t,this.refs=vs,this.updater=n||ms}var qi=Ji.prototype=new gs;qi.constructor=Ji;hs(qi,sn.prototype);qi.isPureReactComponent=!0;var Xo=Array.isArray,ys=Object.prototype.hasOwnProperty,bi={current:null},xs={key:!0,ref:!0,__self:!0,__source:!0};function ws(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)ys.call(t,r)&&!xs.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,Z=N[Q];if(0>>1;Ql(Ll,z))xtl(rr,Ll)?(N[Q]=rr,N[xt]=z,Q=xt):(N[Q]=Ll,N[yt]=z,Q=yt);else if(xtl(rr,z))N[Q]=rr,N[xt]=z,Q=xt;else break e}}return R}function l(N,R){var z=N.sortIndex-R.sortIndex;return z!==0?z:N.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var s=[],c=[],v=1,m=null,h=3,x=!1,w=!1,k=!1,C=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(N){for(var R=n(c);R!==null;){if(R.callback===null)r(c);else if(R.startTime<=N)r(c),R.sortIndex=R.expirationTime,t(s,R);else break;R=n(c)}}function g(N){if(k=!1,p(N),!w)if(n(s)!==null)w=!0,_l(S);else{var R=n(c);R!==null&&Pl(g,R.startTime-N)}}function S(N,R){w=!1,k&&(k=!1,d(P),P=-1),x=!0;var z=h;try{for(p(R),m=n(s);m!==null&&(!(m.expirationTime>R)||N&&!Pe());){var Q=m.callback;if(typeof Q=="function"){m.callback=null,h=m.priorityLevel;var Z=Q(m.expirationTime<=R);R=e.unstable_now(),typeof Z=="function"?m.callback=Z:m===n(s)&&r(s),p(R)}else r(s);m=n(s)}if(m!==null)var nr=!0;else{var yt=n(c);yt!==null&&Pl(g,yt.startTime-R),nr=!1}return nr}finally{m=null,h=z,x=!1}}var j=!1,_=null,P=-1,H=5,O=-1;function Pe(){return!(e.unstable_now()-ON||125Q?(N.sortIndex=z,t(c,N),n(s)===null&&N===n(c)&&(k?(d(P),P=-1):k=!0,Pl(g,z-Q))):(N.sortIndex=Z,t(s,N),w||x||(w=!0,_l(S))),N},e.unstable_shouldYield=Pe,e.unstable_wrapCallback=function(N){var R=h;return function(){var z=h;h=R;try{return N.apply(this,arguments)}finally{h=z}}}})(Ns);Cs.exports=Ns;var uf=Cs.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var sf=L,xe=uf;function y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ri=Object.prototype.hasOwnProperty,af=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Jo={},qo={};function cf(e){return ri.call(qo,e)?!0:ri.call(Jo,e)?!1:af.test(e)?qo[e]=!0:(Jo[e]=!0,!1)}function ff(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function df(e,t,n,r){if(t===null||typeof t>"u"||ff(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ae(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){te[e]=new ae(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];te[t]=new ae(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){te[e]=new ae(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){te[e]=new ae(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){te[e]=new ae(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){te[e]=new ae(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){te[e]=new ae(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){te[e]=new ae(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){te[e]=new ae(e,5,!1,e.toLowerCase(),null,!1,!1)});var to=/[\-:]([a-z])/g;function no(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(to,no);te[t]=new ae(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(to,no);te[t]=new ae(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(to,no);te[t]=new ae(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){te[e]=new ae(e,1,!1,e.toLowerCase(),null,!1,!1)});te.xlinkHref=new ae("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){te[e]=new ae(e,1,!1,e.toLowerCase(),null,!0,!0)});function ro(e,t,n,r){var l=te.hasOwnProperty(t)?te[t]:null;(l!==null?l.type!==0:r||!(2u||l[o]!==i[u]){var s=` `+l[o].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=u);break}}}finally{Tl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?kn(e):""}function pf(e){switch(e.tag){case 5:return kn(e.type);case 16:return kn("Lazy");case 13:return kn("Suspense");case 19:return kn("SuspenseList");case 0:case 2:case 15:return e=Ol(e.type,!1),e;case 11:return e=Ol(e.type.render,!1),e;case 1:return e=Ol(e.type,!0),e;default:return""}}function ui(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Mt:return"Fragment";case It:return"Portal";case li:return"Profiler";case lo:return"StrictMode";case ii:return"Suspense";case oi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ps:return(e.displayName||"Context")+".Consumer";case _s:return(e._context.displayName||"Context")+".Provider";case io:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case oo:return t=e.displayName||null,t!==null?t:ui(e.type)||"Memo";case qe:t=e._payload,e=e._init;try{return ui(e(t))}catch{}}return null}function mf(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ui(t);case 8:return t===lo?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function pt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Rs(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function hf(e){var t=Rs(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function or(e){e._valueTracker||(e._valueTracker=hf(e))}function zs(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Rs(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Fr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function si(e,t){var n=t.checked;return V({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function eu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=pt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ts(e,t){t=t.checked,t!=null&&ro(e,"checked",t,!1)}function ai(e,t){Ts(e,t);var n=pt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ci(e,t.type,n):t.hasOwnProperty("defaultValue")&&ci(e,t.type,pt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function tu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ci(e,t,n){(t!=="number"||Fr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Sn=Array.isArray;function Gt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=ur.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function In(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Nn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},vf=["Webkit","ms","Moz","O"];Object.keys(Nn).forEach(function(e){vf.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Nn[t]=Nn[e]})});function Ms(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Nn.hasOwnProperty(e)&&Nn[e]?(""+t).trim():t+"px"}function Ds(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Ms(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var gf=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function pi(e,t){if(t){if(gf[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(y(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(y(61))}if(t.style!=null&&typeof t.style!="object")throw Error(y(62))}}function mi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var hi=null;function uo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var vi=null,Yt=null,Xt=null;function lu(e){if(e=er(e)){if(typeof vi!="function")throw Error(y(280));var t=e.stateNode;t&&(t=pl(t),vi(e.stateNode,e.type,t))}}function Us(e){Yt?Xt?Xt.push(e):Xt=[e]:Yt=e}function Bs(){if(Yt){var e=Yt,t=Xt;if(Xt=Yt=null,lu(e),t)for(e=0;e>>=0,e===0?32:31-(Pf(e)/Lf|0)|0}var sr=64,ar=4194304;function En(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ur(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var u=o&~l;u!==0?r=En(u):(i&=o,i!==0&&(r=En(i)))}else o=n&~l,o!==0?r=En(o):i!==0&&(r=En(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function qn(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Oe(t),e[t]=n}function Of(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=_n),pu=" ",mu=!1;function ia(e,t){switch(e){case"keyup":return ud.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function oa(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dt=!1;function ad(e,t){switch(e){case"compositionend":return oa(t);case"keypress":return t.which!==32?null:(mu=!0,pu);case"textInput":return e=t.data,e===pu&&mu?null:e;default:return null}}function cd(e,t){if(Dt)return e==="compositionend"||!vo&&ia(e,t)?(e=ra(),Cr=po=nt=null,Dt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=yu(n)}}function ca(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ca(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function fa(){for(var e=window,t=Fr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Fr(e.document)}return t}function go(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function xd(e){var t=fa(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ca(n.ownerDocument.documentElement,n)){if(r!==null&&go(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=xu(n,i);var o=xu(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ut=null,Si=null,Ln=null,Ei=!1;function wu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ei||Ut==null||Ut!==Fr(r)||(r=Ut,"selectionStart"in r&&go(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ln&&$n(Ln,r)||(Ln=r,r=$r(Si,"onSelect"),0$t||(e.current=Li[$t],Li[$t]=null,$t--)}function M(e,t){$t++,Li[$t]=e.current,e.current=t}var mt={},ie=vt(mt),de=vt(!1),_t=mt;function tn(e,t){var n=e.type.contextTypes;if(!n)return mt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function pe(e){return e=e.childContextTypes,e!=null}function Wr(){U(de),U(ie)}function _u(e,t,n){if(ie.current!==mt)throw Error(y(168));M(ie,t),M(de,n)}function wa(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(y(108,mf(e)||"Unknown",l));return V({},n,r)}function Hr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mt,_t=ie.current,M(ie,e),M(de,de.current),!0}function Pu(e,t,n){var r=e.stateNode;if(!r)throw Error(y(169));n?(e=wa(e,t,_t),r.__reactInternalMemoizedMergedChildContext=e,U(de),U(ie),M(ie,e)):U(de),M(de,n)}var Ve=null,ml=!1,Gl=!1;function ka(e){Ve===null?Ve=[e]:Ve.push(e)}function zd(e){ml=!0,ka(e)}function gt(){if(!Gl&&Ve!==null){Gl=!0;var e=0,t=I;try{var n=Ve;for(I=1;e>=o,l-=o,We=1<<32-Oe(t)+l|n<P?(H=_,_=null):H=_.sibling;var O=h(d,_,p[P],g);if(O===null){_===null&&(_=H);break}e&&_&&O.alternate===null&&t(d,_),a=i(O,a,P),j===null?S=O:j.sibling=O,j=O,_=H}if(P===p.length)return n(d,_),B&&wt(d,P),S;if(_===null){for(;PP?(H=_,_=null):H=_.sibling;var Pe=h(d,_,O.value,g);if(Pe===null){_===null&&(_=H);break}e&&_&&Pe.alternate===null&&t(d,_),a=i(Pe,a,P),j===null?S=Pe:j.sibling=Pe,j=Pe,_=H}if(O.done)return n(d,_),B&&wt(d,P),S;if(_===null){for(;!O.done;P++,O=p.next())O=m(d,O.value,g),O!==null&&(a=i(O,a,P),j===null?S=O:j.sibling=O,j=O);return B&&wt(d,P),S}for(_=r(d,_);!O.done;P++,O=p.next())O=x(_,d,P,O.value,g),O!==null&&(e&&O.alternate!==null&&_.delete(O.key===null?P:O.key),a=i(O,a,P),j===null?S=O:j.sibling=O,j=O);return e&&_.forEach(function(fn){return t(d,fn)}),B&&wt(d,P),S}function C(d,a,p,g){if(typeof p=="object"&&p!==null&&p.type===Mt&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case ir:e:{for(var S=p.key,j=a;j!==null;){if(j.key===S){if(S=p.type,S===Mt){if(j.tag===7){n(d,j.sibling),a=l(j,p.props.children),a.return=d,d=a;break e}}else if(j.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===qe&&zu(S)===j.type){n(d,j.sibling),a=l(j,p.props),a.ref=yn(d,j,p),a.return=d,d=a;break e}n(d,j);break}else t(d,j);j=j.sibling}p.type===Mt?(a=jt(p.props.children,d.mode,g,p.key),a.return=d,d=a):(g=Tr(p.type,p.key,p.props,null,d.mode,g),g.ref=yn(d,a,p),g.return=d,d=g)}return o(d);case It:e:{for(j=p.key;a!==null;){if(a.key===j)if(a.tag===4&&a.stateNode.containerInfo===p.containerInfo&&a.stateNode.implementation===p.implementation){n(d,a.sibling),a=l(a,p.children||[]),a.return=d,d=a;break e}else{n(d,a);break}else t(d,a);a=a.sibling}a=ti(p,d.mode,g),a.return=d,d=a}return o(d);case qe:return j=p._init,C(d,a,j(p._payload),g)}if(Sn(p))return w(d,a,p,g);if(pn(p))return k(d,a,p,g);vr(d,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,a!==null&&a.tag===6?(n(d,a.sibling),a=l(a,p),a.return=d,d=a):(n(d,a),a=ei(p,d.mode,g),a.return=d,d=a),o(d)):n(d,a)}return C}var rn=Na(!0),ja=Na(!1),Gr=vt(null),Yr=null,Ht=null,ko=null;function So(){ko=Ht=Yr=null}function Eo(e){var t=Gr.current;U(Gr),e._currentValue=t}function Ti(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Jt(e,t){Yr=e,ko=Ht=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(fe=!0),e.firstContext=null)}function je(e){var t=e._currentValue;if(ko!==e)if(e={context:e,memoizedValue:t,next:null},Ht===null){if(Yr===null)throw Error(y(308));Ht=e,Yr.dependencies={lanes:0,firstContext:e}}else Ht=Ht.next=e;return t}var Et=null;function Co(e){Et===null?Et=[e]:Et.push(e)}function _a(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Co(t)):(n.next=l.next,l.next=n),t.interleaved=n,Ye(e,r)}function Ye(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var be=!1;function No(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Pa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Qe(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function at(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,F&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Ye(e,n)}return l=r.interleaved,l===null?(t.next=t,Co(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ye(e,n)}function jr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ao(e,n)}}function Tu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Xr(e,t,n,r){var l=e.updateQueue;be=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,c=s.next;s.next=null,o===null?i=c:o.next=c,o=s;var v=e.alternate;v!==null&&(v=v.updateQueue,u=v.lastBaseUpdate,u!==o&&(u===null?v.firstBaseUpdate=c:u.next=c,v.lastBaseUpdate=s))}if(i!==null){var m=l.baseState;o=0,v=c=s=null,u=i;do{var h=u.lane,x=u.eventTime;if((r&h)===h){v!==null&&(v=v.next={eventTime:x,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var w=e,k=u;switch(h=t,x=n,k.tag){case 1:if(w=k.payload,typeof w=="function"){m=w.call(x,m,h);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=k.payload,h=typeof w=="function"?w.call(x,m,h):w,h==null)break e;m=V({},m,h);break e;case 2:be=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,h=l.effects,h===null?l.effects=[u]:h.push(u))}else x={eventTime:x,lane:h,tag:u.tag,payload:u.payload,callback:u.callback,next:null},v===null?(c=v=x,s=m):v=v.next=x,o|=h;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;h=u,u=h.next,h.next=null,l.lastBaseUpdate=h,l.shared.pending=null}}while(!0);if(v===null&&(s=m),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=v,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);Rt|=o,e.lanes=o,e.memoizedState=m}}function Ou(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Xl.transition;Xl.transition={};try{e(!1),t()}finally{I=n,Xl.transition=r}}function Qa(){return _e().memoizedState}function Id(e,t,n){var r=ft(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ka(e))Ga(t,n);else if(n=_a(e,t,n,r),n!==null){var l=ue();Fe(n,e,r,l),Ya(n,t,r)}}function Md(e,t,n){var r=ft(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ka(e))Ga(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,u=i(o,n);if(l.hasEagerState=!0,l.eagerState=u,Ie(u,o)){var s=t.interleaved;s===null?(l.next=l,Co(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=_a(e,t,l,r),n!==null&&(l=ue(),Fe(n,e,r,l),Ya(n,t,r))}}function Ka(e){var t=e.alternate;return e===$||t!==null&&t===$}function Ga(e,t){Rn=Jr=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ya(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ao(e,n)}}var qr={readContext:je,useCallback:ne,useContext:ne,useEffect:ne,useImperativeHandle:ne,useInsertionEffect:ne,useLayoutEffect:ne,useMemo:ne,useReducer:ne,useRef:ne,useState:ne,useDebugValue:ne,useDeferredValue:ne,useTransition:ne,useMutableSource:ne,useSyncExternalStore:ne,useId:ne,unstable_isNewReconciler:!1},Dd={readContext:je,useCallback:function(e,t){return De().memoizedState=[e,t===void 0?null:t],e},useContext:je,useEffect:Iu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Pr(4194308,4,Aa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pr(4,2,e,t)},useMemo:function(e,t){var n=De();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=De();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Id.bind(null,$,e),[r.memoizedState,e]},useRef:function(e){var t=De();return e={current:e},t.memoizedState=e},useState:Fu,useDebugValue:Oo,useDeferredValue:function(e){return De().memoizedState=e},useTransition:function(){var e=Fu(!1),t=e[0];return e=Fd.bind(null,e[1]),De().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=$,l=De();if(B){if(n===void 0)throw Error(y(407));n=n()}else{if(n=t(),q===null)throw Error(y(349));Lt&30||Ta(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Iu(Fa.bind(null,r,i,e),[e]),r.flags|=2048,Xn(9,Oa.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=De(),t=q.identifierPrefix;if(B){var n=He,r=We;n=(r&~(1<<32-Oe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Gn++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Ue]=t,e[Hn]=r,lc(e,t,!1,!1),t.stateNode=e;e:{switch(o=mi(n,r),n){case"dialog":D("cancel",e),D("close",e),l=r;break;case"iframe":case"object":case"embed":D("load",e),l=r;break;case"video":case"audio":for(l=0;lun&&(t.flags|=128,r=!0,xn(i,!1),t.lanes=4194304)}else{if(!r)if(e=Zr(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),xn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!B)return re(t),null}else 2*K()-i.renderingStartTime>un&&n!==1073741824&&(t.flags|=128,r=!0,xn(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=K(),t.sibling=null,n=A.current,M(A,r?n&1|2:n&1),t):(re(t),null);case 22:case 23:return Bo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ve&1073741824&&(re(t),t.subtreeFlags&6&&(t.flags|=8192)):re(t),null;case 24:return null;case 25:return null}throw Error(y(156,t.tag))}function Qd(e,t){switch(xo(t),t.tag){case 1:return pe(t.type)&&Wr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ln(),U(de),U(ie),Po(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return _o(t),null;case 13:if(U(A),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(y(340));nn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(A),null;case 4:return ln(),null;case 10:return Eo(t.type._context),null;case 22:case 23:return Bo(),null;case 24:return null;default:return null}}var yr=!1,le=!1,Kd=typeof WeakSet=="function"?WeakSet:Set,E=null;function Qt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){W(e,t,r)}else n.current=null}function $i(e,t,n){try{n()}catch(r){W(e,t,r)}}var Ku=!1;function Gd(e,t){if(Ci=Br,e=fa(),go(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,u=-1,s=-1,c=0,v=0,m=e,h=null;t:for(;;){for(var x;m!==n||l!==0&&m.nodeType!==3||(u=o+l),m!==i||r!==0&&m.nodeType!==3||(s=o+r),m.nodeType===3&&(o+=m.nodeValue.length),(x=m.firstChild)!==null;)h=m,m=x;for(;;){if(m===e)break t;if(h===n&&++c===l&&(u=o),h===i&&++v===r&&(s=o),(x=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=x}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ni={focusedElem:e,selectionRange:n},Br=!1,E=t;E!==null;)if(t=E,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,E=e;else for(;E!==null;){t=E;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,C=w.memoizedState,d=t.stateNode,a=d.getSnapshotBeforeUpdate(t.elementType===t.type?k:Re(t.type,k),C);d.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(g){W(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,E=e;break}E=t.return}return w=Ku,Ku=!1,w}function zn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&$i(t,n,i)}l=l.next}while(l!==r)}}function gl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Vi(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function uc(e){var t=e.alternate;t!==null&&(e.alternate=null,uc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ue],delete t[Hn],delete t[Pi],delete t[Ld],delete t[Rd])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sc(e){return e.tag===5||e.tag===3||e.tag===4}function Gu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Wi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Vr));else if(r!==4&&(e=e.child,e!==null))for(Wi(e,t,n),e=e.sibling;e!==null;)Wi(e,t,n),e=e.sibling}function Hi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Hi(e,t,n),e=e.sibling;e!==null;)Hi(e,t,n),e=e.sibling}var b=null,ze=!1;function Je(e,t,n){for(n=n.child;n!==null;)ac(e,t,n),n=n.sibling}function ac(e,t,n){if(Be&&typeof Be.onCommitFiberUnmount=="function")try{Be.onCommitFiberUnmount(al,n)}catch{}switch(n.tag){case 5:le||Qt(n,t);case 6:var r=b,l=ze;b=null,Je(e,t,n),b=r,ze=l,b!==null&&(ze?(e=b,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):b.removeChild(n.stateNode));break;case 18:b!==null&&(ze?(e=b,n=n.stateNode,e.nodeType===8?Kl(e.parentNode,n):e.nodeType===1&&Kl(e,n),Bn(e)):Kl(b,n.stateNode));break;case 4:r=b,l=ze,b=n.stateNode.containerInfo,ze=!0,Je(e,t,n),b=r,ze=l;break;case 0:case 11:case 14:case 15:if(!le&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&$i(n,t,o),l=l.next}while(l!==r)}Je(e,t,n);break;case 1:if(!le&&(Qt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){W(n,t,u)}Je(e,t,n);break;case 21:Je(e,t,n);break;case 22:n.mode&1?(le=(r=le)||n.memoizedState!==null,Je(e,t,n),le=r):Je(e,t,n);break;default:Je(e,t,n)}}function Yu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Kd),t.forEach(function(r){var l=np.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Le(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Xd(r/1960))-r,10e?16:e,rt===null)var r=!1;else{if(e=rt,rt=null,tl=0,F&6)throw Error(y(331));var l=F;for(F|=4,E=e.current;E!==null;){var i=E,o=i.child;if(E.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sK()-Do?Nt(e,0):Mo|=n),me(e,t)}function gc(e,t){t===0&&(e.mode&1?(t=ar,ar<<=1,!(ar&130023424)&&(ar=4194304)):t=1);var n=ue();e=Ye(e,t),e!==null&&(qn(e,t,n),me(e,n))}function tp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),gc(e,n)}function np(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(t),gc(e,n)}var yc;yc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||de.current)fe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return fe=!1,Wd(e,t,n);fe=!!(e.flags&131072)}else fe=!1,B&&t.flags&1048576&&Sa(t,Kr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Lr(e,t),e=t.pendingProps;var l=tn(t,ie.current);Jt(t,n),l=Ro(null,t,r,e,l,n);var i=zo();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,pe(r)?(i=!0,Hr(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,No(t),l.updater=vl,t.stateNode=l,l._reactInternals=t,Fi(t,r,e,n),t=Di(null,t,r,!0,i,n)):(t.tag=0,B&&i&&yo(t),oe(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Lr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=lp(r),e=Re(r,e),l){case 0:t=Mi(null,t,r,e,n);break e;case 1:t=Wu(null,t,r,e,n);break e;case 11:t=$u(null,t,r,e,n);break e;case 14:t=Vu(null,t,r,Re(r.type,e),n);break e}throw Error(y(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Mi(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Wu(e,t,r,l,n);case 3:e:{if(tc(t),e===null)throw Error(y(387));r=t.pendingProps,i=t.memoizedState,l=i.element,Pa(e,t),Xr(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=on(Error(y(423)),t),t=Hu(e,t,r,n,l);break e}else if(r!==l){l=on(Error(y(424)),t),t=Hu(e,t,r,n,l);break e}else for(ge=st(t.stateNode.containerInfo.firstChild),ye=t,B=!0,Te=null,n=ja(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(nn(),r===l){t=Xe(e,t,n);break e}oe(e,t,r,n)}t=t.child}return t;case 5:return La(t),e===null&&zi(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,ji(r,l)?o=null:i!==null&&ji(r,i)&&(t.flags|=32),ec(e,t),oe(e,t,o,n),t.child;case 6:return e===null&&zi(t),null;case 13:return nc(e,t,n);case 4:return jo(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=rn(t,null,r,n):oe(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),$u(e,t,r,l,n);case 7:return oe(e,t,t.pendingProps,n),t.child;case 8:return oe(e,t,t.pendingProps.children,n),t.child;case 12:return oe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,M(Gr,r._currentValue),r._currentValue=o,i!==null)if(Ie(i.value,o)){if(i.children===l.children&&!de.current){t=Xe(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Qe(-1,n&-n),s.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var v=c.pending;v===null?s.next=s:(s.next=v.next,v.next=s),c.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Ti(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(y(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Ti(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}oe(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Jt(t,n),l=je(l),r=r(l),t.flags|=1,oe(e,t,r,n),t.child;case 14:return r=t.type,l=Re(r,t.pendingProps),l=Re(r.type,l),Vu(e,t,r,l,n);case 15:return qa(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Lr(e,t),t.tag=1,pe(r)?(e=!0,Hr(t)):e=!1,Jt(t,n),Xa(t,r,l),Fi(t,r,l,n),Di(null,t,r,!0,e,n);case 19:return rc(e,t,n);case 22:return ba(e,t,n)}throw Error(y(156,t.tag))};function xc(e,t){return Ks(e,t)}function rp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ce(e,t,n,r){return new rp(e,t,n,r)}function $o(e){return e=e.prototype,!(!e||!e.isReactComponent)}function lp(e){if(typeof e=="function")return $o(e)?1:0;if(e!=null){if(e=e.$$typeof,e===io)return 11;if(e===oo)return 14}return 2}function dt(e,t){var n=e.alternate;return n===null?(n=Ce(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Tr(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")$o(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Mt:return jt(n.children,l,i,t);case lo:o=8,l|=8;break;case li:return e=Ce(12,n,t,l|2),e.elementType=li,e.lanes=i,e;case ii:return e=Ce(13,n,t,l),e.elementType=ii,e.lanes=i,e;case oi:return e=Ce(19,n,t,l),e.elementType=oi,e.lanes=i,e;case Ls:return xl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _s:o=10;break e;case Ps:o=9;break e;case io:o=11;break e;case oo:o=14;break e;case qe:o=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return t=Ce(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function jt(e,t,n,r){return e=Ce(7,e,r,t),e.lanes=n,e}function xl(e,t,n,r){return e=Ce(22,e,r,t),e.elementType=Ls,e.lanes=n,e.stateNode={isHidden:!1},e}function ei(e,t,n){return e=Ce(6,e,null,t),e.lanes=n,e}function ti(e,t,n){return t=Ce(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ip(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Il(0),this.expirationTimes=Il(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Il(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Vo(e,t,n,r,l,i,o,u,s){return e=new ip(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ce(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},No(i),e}function op(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ec)}catch(e){console.error(e)}}Ec(),Es.exports=we;var fp=Es.exports,Cc,ns=fp;Cc=ns.createRoot,ns.hydrateRoot;/** * @remix-run/router v1.23.0 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function ll(){return ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Nc(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function pp(){return Math.random().toString(36).substr(2,8)}function ls(e,t){return{usr:e.state,key:e.key,idx:t}}function Xi(e,t,n,r){return n===void 0&&(n=null),ll({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Cl(t):t,{state:n,key:t&&t.key||r||pp()})}function jc(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Cl(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function mp(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,u=lt.Pop,s=null,c=v();c==null&&(c=0,o.replaceState(ll({},o.state,{idx:c}),""));function v(){return(o.state||{idx:null}).idx}function m(){u=lt.Pop;let C=v(),d=C==null?null:C-c;c=C,s&&s({action:u,location:k.location,delta:d})}function h(C,d){u=lt.Push;let a=Xi(k.location,C,d);c=v()+1;let p=ls(a,c),g=k.createHref(a);try{o.pushState(p,"",g)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;l.location.assign(g)}i&&s&&s({action:u,location:k.location,delta:1})}function x(C,d){u=lt.Replace;let a=Xi(k.location,C,d);c=v();let p=ls(a,c),g=k.createHref(a);o.replaceState(p,"",g),i&&s&&s({action:u,location:k.location,delta:0})}function w(C){let d=l.location.origin!=="null"?l.location.origin:l.location.href,a=typeof C=="string"?C:jc(C);return a=a.replace(/ $/,"%20"),he(d,"No window.location.(origin|href) available to create URL for href: "+a),new URL(a,d)}let k={get action(){return u},get location(){return e(l,o)},listen(C){if(s)throw new Error("A history only accepts one active listener");return l.addEventListener(rs,m),s=C,()=>{l.removeEventListener(rs,m),s=null}},createHref(C){return t(l,C)},createURL:w,encodeLocation(C){let d=w(C);return{pathname:d.pathname,search:d.search,hash:d.hash}},push:h,replace:x,go(C){return o.go(C)}};return k}var is;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(is||(is={}));function hp(e,t,n){return n===void 0&&(n="/"),vp(e,t,n)}function vp(e,t,n,r){let l=typeof t=="string"?Cl(t):t,i=Lc(l.pathname||"/",n);if(i==null)return null;let o=_c(e);gp(o);let u=null;for(let s=0;u==null&&s{let s={relativePath:u===void 0?i.path||"":u,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};s.relativePath.startsWith("/")&&(he(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let c=bt([r,s.relativePath]),v=n.concat(s);i.children&&i.children.length>0&&(he(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),_c(i.children,t,v,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:Cp(c,i.index),routesMeta:v})};return e.forEach((i,o)=>{var u;if(i.path===""||!((u=i.path)!=null&&u.includes("?")))l(i,o);else for(let s of Pc(i.path))l(i,o,s)}),t}function Pc(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return l?[i,""]:[i];let o=Pc(r.join("/")),u=[];return u.push(...o.map(s=>s===""?i:[i,s].join("/"))),l&&u.push(...o),u.map(s=>e.startsWith("/")&&s===""?"/":s)}function gp(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Np(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const yp=/^:[\w-]+$/,xp=3,wp=2,kp=1,Sp=10,Ep=-2,os=e=>e==="*";function Cp(e,t){let n=e.split("/"),r=n.length;return n.some(os)&&(r+=Ep),t&&(r+=wp),n.filter(l=>!os(l)).reduce((l,i)=>l+(yp.test(i)?xp:i===""?kp:Sp),r)}function Np(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function jp(e,t,n){let{routesMeta:r}=e,l={},i="/",o=[];for(let u=0;u{let{paramName:h,isOptional:x}=v;if(h==="*"){let k=u[m]||"";o=i.slice(0,i.length-k.length).replace(/(.)\/+$/,"$1")}const w=u[m];return x&&!w?c[h]=void 0:c[h]=(w||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:o,pattern:e}}function Pp(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Nc(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,u,s)=>(r.push({paramName:u,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Lp(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Nc(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Lc(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const bt=e=>e.join("/").replace(/\/\/+/g,"/"),Rp=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function zp(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Rc=["post","put","patch","delete"];new Set(Rc);const Tp=["get",...Rc];new Set(Tp);/** * React Router v6.30.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function il(){return il=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},C,{params:Object.assign({},u,C.params),pathname:bt([s,l.encodeLocation?l.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?s:bt([s,l.encodeLocation?l.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),i,n,r);return t&&k?L.createElement(Nl.Provider,{value:{location:il({pathname:"/",search:"",hash:"",state:null,key:"default"},v),navigationType:lt.Pop}},k):k}function Up(){let e=Kp(),t=zp(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return L.createElement(L.Fragment,null,L.createElement("h2",null,"Unexpected Application Error!"),L.createElement("h3",{style:{fontStyle:"italic"}},t),n?L.createElement("pre",{style:l},n):null,null)}const Bp=L.createElement(Up,null);class Ap extends L.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?L.createElement(jl.Provider,{value:this.props.routeContext},L.createElement(Tc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function $p(e){let{routeContext:t,match:n,children:r}=e,l=L.useContext(Op);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),L.createElement(jl.Provider,{value:t},r)}function Vp(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,u=(l=n)==null?void 0:l.errors;if(u!=null){let v=o.findIndex(m=>m.route.id&&(u==null?void 0:u[m.route.id])!==void 0);v>=0||he(!1),o=o.slice(0,Math.min(o.length,v+1))}let s=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let v=0;v=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((v,m,h)=>{let x,w=!1,k=null,C=null;n&&(x=u&&m.route.id?u[m.route.id]:void 0,k=m.route.errorElement||Bp,s&&(c<0&&h===0?(Gp("route-fallback"),w=!0,C=null):c===h&&(w=!0,C=m.route.hydrateFallbackElement||null)));let d=t.concat(o.slice(0,h+1)),a=()=>{let p;return x?p=k:w?p=C:m.route.Component?p=L.createElement(m.route.Component,null):m.route.element?p=m.route.element:p=v,L.createElement($p,{match:m,routeContext:{outlet:v,matches:d,isDataRoute:n!=null},children:p})};return n&&(m.route.ErrorBoundary||m.route.errorElement||h===0)?L.createElement(Ap,{location:n.location,revalidation:n.revalidation,component:k,error:x,children:a(),routeContext:{outlet:null,matches:d,isDataRoute:!0}}):a()},null)}var Oc=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Oc||{});function Wp(e){let t=L.useContext(Fp);return t||he(!1),t}function Hp(e){let t=L.useContext(jl);return t||he(!1),t}function Qp(e){let t=Hp(),n=t.matches[t.matches.length-1];return n.route.id||he(!1),n.route.id}function Kp(){var e;let t=L.useContext(Tc),n=Wp(Oc.UseRouteError),r=Qp();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}const us={};function Gp(e,t,n){us[e]||(us[e]=!0)}function Yp(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Or(e){he(!1)}function Xp(e){let{basename:t="/",children:n=null,location:r,navigationType:l=lt.Pop,navigator:i,static:o=!1,future:u}=e;Ko()&&he(!1);let s=t.replace(/^\/*/,"/"),c=L.useMemo(()=>({basename:s,navigator:i,static:o,future:il({v7_relativeSplatPath:!1},u)}),[s,u,i,o]);typeof r=="string"&&(r=Cl(r));let{pathname:v="/",search:m="",hash:h="",state:x=null,key:w="default"}=r,k=L.useMemo(()=>{let C=Lc(v,s);return C==null?null:{location:{pathname:C,search:m,hash:h,state:x,key:w},navigationType:l}},[s,v,m,h,x,w,l]);return k==null?null:L.createElement(zc.Provider,{value:c},L.createElement(Nl.Provider,{children:n,value:k}))}function Zp(e){let{children:t,location:n}=e;return Mp(Zi(t),n)}new Promise(()=>{});function Zi(e,t){t===void 0&&(t=[]);let n=[];return L.Children.forEach(e,(r,l)=>{if(!L.isValidElement(r))return;let i=[...t,l];if(r.type===L.Fragment){n.push.apply(n,Zi(r.props.children,i));return}r.type!==Or&&he(!1),!r.props.index||!r.props.children||he(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=Zi(r.props.children,i)),n.push(o)}),n}/** * React Router DOM v6.30.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */const Jp="6";try{window.__reactRouterVersion=Jp}catch{}const qp="startTransition",ss=bc[qp];function bp(e){let{basename:t,children:n,future:r,window:l}=e,i=L.useRef();i.current==null&&(i.current=dp({window:l,v5Compat:!0}));let o=i.current,[u,s]=L.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},v=L.useCallback(m=>{c&&ss?ss(()=>s(m)):s(m)},[s,c]);return L.useLayoutEffect(()=>o.listen(v),[o,v]),L.useEffect(()=>Yp(r),[r]),L.createElement(Xp,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:o,future:r})}var as;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(as||(as={}));var cs;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(cs||(cs={}));const em=[{label:"Home",href:"/"},{label:"About Us",href:"/about-us"},{label:"Organizational Structure"}];function tm(){return f.jsx("header",{className:"border-b border-border-structural bg-surface-white",children:f.jsxs("div",{className:"max-w-register mx-auto px-6 py-4 flex items-center justify-between",children:[f.jsx("nav",{id:"crumbs","aria-label":"Breadcrumb",children:f.jsx("ol",{className:"flex items-center gap-1.5",children:em.map((e,t)=>f.jsxs("li",{className:"flex items-center gap-1.5",children:[t>0&&f.jsx("span",{className:"text-ink-muted text-label select-none",children:"/"}),e.href?f.jsx("a",{href:e.href,className:"text-label text-ink-subtle hover:text-ink-body transition-colors duration-150",children:e.label}):f.jsx("span",{className:"text-label text-ink-body font-medium",children:e.label})]},t))})}),f.jsxs("div",{className:"flex items-center gap-0",children:[f.jsx("button",{className:"text-label font-medium text-ink-primary border border-border-structural px-3 py-1 bg-surface-grey","aria-current":"true",children:"EN"}),f.jsx("button",{className:"text-label font-medium text-ink-subtle border border-border-structural border-l-0 px-3 py-1 bg-surface-white hover:bg-surface-grey transition-colors duration-150",children:"AR"})]})]})})}function nm(){return f.jsx("footer",{className:"border-t border-border-structural bg-surface-grey",children:f.jsxs("div",{className:"max-w-register mx-auto px-6 py-5 flex flex-col sm:flex-row items-start sm:items-center justify-between gap-3",children:[f.jsxs("div",{children:[f.jsx("p",{className:"text-[13px] font-semibold text-ink-primary",children:"Almanza Investment Company K.S.C."}),f.jsx("p",{className:"text-label text-ink-subtle mt-0.5",children:"State of Kuwait — Regulated by the Capital Markets Authority"})]}),f.jsxs("div",{className:"flex items-center gap-4",children:[f.jsxs("span",{className:"text-label text-ink-muted",children:["Document ref: ",f.jsx("span",{className:"font-mono",children:"ORG-REG-2024-01"})]}),f.jsxs("span",{className:"text-label text-ink-muted",children:["© ",new Date().getFullYear()]})]})]})})}function rm(){return f.jsxs("section",{className:"max-w-register mx-auto px-6 pt-10 pb-8",children:[f.jsxs("div",{className:"max-w-reading",children:[f.jsx("p",{className:"text-label text-ink-subtle uppercase tracking-widest mb-2",children:"About Us — Almanza Investment Company K.S.C."}),f.jsx("h1",{className:"text-[28px] font-semibold text-ink-primary leading-tight mb-1",children:"Organizational Structure"}),f.jsx("p",{className:"text-[14px] text-ink-subtle font-medium",children:"Governance Hierarchy & Reporting Register"})]}),f.jsx("hr",{className:"border-t border-border-structural mt-8"})]})}function lm(){return f.jsx("section",{className:"max-w-register mx-auto px-6 pb-12",children:f.jsxs("div",{className:"max-w-reading",children:[f.jsxs("div",{className:"flex items-baseline gap-3 mb-5",children:[f.jsx("span",{className:"font-mono text-[11px] font-medium text-ink-subtle tracking-widest border border-border-structural px-2 py-0.5 bg-surface-grey",children:"§1"}),f.jsx("h2",{className:"text-[17px] font-semibold text-ink-primary",children:"Governance Context"})]}),f.jsxs("div",{className:"bg-surface-grey border border-border-structural p-6 space-y-4",children:[f.jsx("p",{className:"text-[14px] text-ink-body leading-relaxed",children:"The organizational structure of Almanza Investment Company K.S.C. defines authority levels, reporting relationships, and functional responsibilities across the organization. This register documents the formal governance hierarchy as established and maintained under applicable regulatory requirements in the State of Kuwait."}),f.jsx("p",{className:"text-[14px] text-ink-body leading-relaxed",children:"The structure operates within the governance framework established by the Board of Directors and supports the execution of the Company's strategy through clearly defined reporting lines and operational controls. All reporting relationships are subject to review by the relevant Board committees and regulatory authorities."})]}),f.jsxs("div",{className:"mt-4 grid grid-cols-3 divide-x divide-border-structural border border-border-structural",children:[f.jsxs("div",{className:"px-5 py-3",children:[f.jsx("p",{className:"text-label text-ink-subtle mb-1",children:"Authority Levels"}),f.jsx("p",{className:"text-[14px] font-semibold text-ink-primary",children:"L1 — L4"})]}),f.jsxs("div",{className:"px-5 py-3",children:[f.jsx("p",{className:"text-label text-ink-subtle mb-1",children:"Reporting Lines"}),f.jsx("p",{className:"text-[14px] font-semibold text-ink-primary",children:"Vertically Structured"})]}),f.jsxs("div",{className:"px-5 py-3",children:[f.jsx("p",{className:"text-label text-ink-subtle mb-1",children:"Regulatory Framework"}),f.jsx("p",{className:"text-[14px] font-semibold text-ink-primary",children:"CMA Kuwait"})]})]})]})})}const im=[{levelCode:"L1",authorityLevel:"Governance",roleUnit:"Board of Directors",reportsTo:"Shareholders — General Assembly",oversight:"Regulatory Authorities / CMA Kuwait"},{levelCode:"L1",authorityLevel:"Governance",roleUnit:"Audit Committee",reportsTo:"Board of Directors",oversight:"External Auditors / Regulatory Authorities"},{levelCode:"L1",authorityLevel:"Governance",roleUnit:"Governance & Compliance Committee",reportsTo:"Board of Directors",oversight:"Board of Directors"},{levelCode:"L2",authorityLevel:"Executive",roleUnit:"Chief Executive Officer",reportsTo:"Board of Directors",oversight:"Board Committees"},{levelCode:"L3",authorityLevel:"Executive",roleUnit:"Chief Investment Officer",reportsTo:"Chief Executive Officer",oversight:"Investment Committee"},{levelCode:"L3",authorityLevel:"Executive",roleUnit:"Chief Financial Officer",reportsTo:"Chief Executive Officer",oversight:"Audit Committee"},{levelCode:"L3",authorityLevel:"Executive",roleUnit:"Head of Operations",reportsTo:"Chief Executive Officer",oversight:"Internal Controls Unit"},{levelCode:"L4",authorityLevel:"Functional",roleUnit:"Portfolio Management",reportsTo:"Chief Investment Officer",oversight:"Internal Controls Unit"},{levelCode:"L4",authorityLevel:"Functional",roleUnit:"Investment Research",reportsTo:"Chief Investment Officer",oversight:"Investment Committee"},{levelCode:"L4",authorityLevel:"Functional",roleUnit:"Financial Reporting",reportsTo:"Chief Financial Officer",oversight:"Audit Committee"},{levelCode:"L4",authorityLevel:"Functional",roleUnit:"Treasury",reportsTo:"Chief Financial Officer",oversight:"Audit Committee"},{levelCode:"L4",authorityLevel:"Functional",roleUnit:"Operations Unit",reportsTo:"Head of Operations",oversight:"Internal Controls Unit"}],om={L1:"text-ink-primary bg-[#EEF1F5]",L2:"text-ink-primary bg-surface-grey",L3:"text-ink-subtle bg-surface-grey",L4:"text-ink-muted bg-surface-white"};function um(){return f.jsxs("section",{className:"max-w-register mx-auto px-6 pb-12",children:[f.jsxs("div",{className:"flex items-baseline gap-3 mb-6",children:[f.jsx("span",{className:"font-mono text-[11px] font-medium text-ink-subtle tracking-widest border border-border-structural px-2 py-0.5 bg-surface-grey",children:"§2"}),f.jsxs("div",{children:[f.jsx("h2",{className:"text-[17px] font-semibold text-ink-primary",children:"Authority & Reporting Register"}),f.jsx("p",{className:"text-label text-ink-subtle mt-0.5",children:"Primary governance disclosure — authority levels, reporting lines, and oversight assignments"})]})]}),f.jsx("div",{className:"border border-border-structural overflow-x-auto",children:f.jsxs("table",{className:"register-table w-full",children:[f.jsx("thead",{children:f.jsxs("tr",{children:[f.jsx("th",{style:{width:"90px"},children:"Level Code"}),f.jsx("th",{style:{width:"130px"},children:"Authority Level"}),f.jsx("th",{children:"Role / Unit"}),f.jsx("th",{children:"Reports To"}),f.jsx("th",{children:"Oversight"})]})}),f.jsx("tbody",{children:im.map((e,t)=>f.jsxs("tr",{children:[f.jsx("td",{children:f.jsx("span",{className:`inline-block font-mono text-[11px] font-medium px-2 py-0.5 border border-border-structural ${om[e.levelCode]||""}`,children:e.levelCode})}),f.jsx("td",{className:"text-td text-ink-subtle",children:e.authorityLevel}),f.jsx("td",{className:"text-td font-medium text-ink-primary",children:e.roleUnit}),f.jsx("td",{className:"text-td text-ink-body",children:e.reportsTo}),f.jsx("td",{className:"text-td text-ink-subtle",children:e.oversight})]},t))})]})}),f.jsx("p",{className:"text-label text-ink-muted mt-3",children:"Level codes L1–L4 denote governance tier from Board (L1) to Functional units (L4). All reporting relationships are formally documented in the Company's governance charter."})]})}const sm=[{role:"Chief Executive Officer",reportingLine:"Board of Directors",functionalResponsibility:"Overall executive leadership, strategic direction, and corporate governance compliance"},{role:"Chief Investment Officer",reportingLine:"Chief Executive Officer",functionalResponsibility:"Investment strategy, portfolio oversight, asset allocation, and investment committee coordination"},{role:"Chief Financial Officer",reportingLine:"Chief Executive Officer",functionalResponsibility:"Financial management, statutory reporting, treasury operations, and audit liaison"},{role:"Head of Operations",reportingLine:"Chief Executive Officer",functionalResponsibility:"Operational execution, internal systems management, and administrative control"},{role:"Head of Compliance",reportingLine:"Chief Executive Officer",functionalResponsibility:"Regulatory compliance, internal controls, and governance committee secretariat"}];function am(){return f.jsxs("section",{className:"max-w-register mx-auto px-6 pb-12",children:[f.jsxs("div",{className:"flex items-baseline gap-3 mb-6",children:[f.jsx("span",{className:"font-mono text-[11px] font-medium text-ink-subtle tracking-widest border border-border-structural px-2 py-0.5 bg-surface-grey",children:"§3"}),f.jsxs("div",{children:[f.jsx("h2",{className:"text-[17px] font-semibold text-ink-primary",children:"Executive Reporting Structure"}),f.jsx("p",{className:"text-label text-ink-subtle mt-0.5",children:"Executive-level roles, direct reporting lines, and assigned functional responsibilities"})]})]}),f.jsx("div",{className:"border border-border-structural overflow-x-auto",children:f.jsxs("table",{className:"register-table w-full",children:[f.jsx("thead",{children:f.jsxs("tr",{children:[f.jsx("th",{style:{width:"240px"},children:"Role"}),f.jsx("th",{style:{width:"220px"},children:"Reporting Line"}),f.jsx("th",{children:"Functional Responsibility"})]})}),f.jsx("tbody",{children:sm.map((e,t)=>f.jsxs("tr",{children:[f.jsx("td",{className:"font-medium text-ink-primary text-td",children:e.role}),f.jsx("td",{className:"text-td text-ink-body",children:e.reportingLine}),f.jsx("td",{className:"text-td text-ink-subtle",children:e.functionalResponsibility})]},t))})]})})]})}const cm=[{name:"Investment Function",responsibilities:["Portfolio management and monitoring","Asset allocation and rebalancing","Investment research and due diligence","Market analysis and reporting","Investment committee support and documentation"]},{name:"Finance Function",responsibilities:["Financial reporting and statutory disclosure","Treasury operations and cash management","Accounting and ledger management","Budget preparation and financial control","External audit coordination"]},{name:"Operations Function",responsibilities:["Internal systems administration","Transaction settlement and processing","Records management and documentation","Vendor and counterparty management","Administrative and facilities oversight"]},{name:"Compliance Function",responsibilities:["Regulatory compliance monitoring","Internal control framework implementation","Risk and compliance reporting","Policy maintenance and governance documentation","Liaison with regulatory authorities"]}];function fm(){return f.jsxs("section",{className:"max-w-register mx-auto px-6 pb-12",children:[f.jsxs("div",{className:"flex items-baseline gap-3 mb-6",children:[f.jsx("span",{className:"font-mono text-[11px] font-medium text-ink-subtle tracking-widest border border-border-structural px-2 py-0.5 bg-surface-grey",children:"§4"}),f.jsxs("div",{children:[f.jsx("h2",{className:"text-[17px] font-semibold text-ink-primary",children:"Functional Organization"}),f.jsx("p",{className:"text-label text-ink-subtle mt-0.5",children:"Functional segmentation and responsibility scope by division"})]})]}),f.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-px bg-border-structural border border-border-structural",children:cm.map((e,t)=>f.jsxs("div",{className:"bg-surface-white p-6",children:[f.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[f.jsxs("span",{className:"font-mono text-[10px] font-medium text-ink-muted bg-surface-grey border border-border-structural px-1.5 py-0.5",children:["F",t+1]}),f.jsx("h3",{className:"text-[15px] font-semibold text-ink-primary",children:e.name})]}),f.jsx("ul",{className:"space-y-2",children:e.responsibilities.map((n,r)=>f.jsxs("li",{className:"flex items-start gap-2",children:[f.jsx("span",{className:"mt-[6px] w-1 h-1 shrink-0 bg-ink-muted inline-block"}),f.jsx("span",{className:"text-td text-ink-body",children:n})]},r))})]},t))})]})}function dm(){return f.jsxs("section",{className:"max-w-register mx-auto px-6 pb-12",id:"structure",children:[f.jsxs("div",{className:"flex items-baseline gap-3 mb-6",children:[f.jsx("span",{className:"font-mono text-[11px] font-medium text-ink-subtle tracking-widest border border-border-structural px-2 py-0.5 bg-surface-grey",children:"§5"}),f.jsxs("div",{children:[f.jsx("h2",{className:"text-[17px] font-semibold text-ink-primary",children:"Organizational Hierarchy"}),f.jsx("p",{className:"text-label text-ink-subtle mt-0.5",children:"Structured text register — authority levels and reporting chain"})]})]}),f.jsx("div",{className:"border border-border-structural bg-surface-grey p-6 overflow-x-auto",children:f.jsx("pre",{className:"font-mono text-[13px] leading-[1.85] text-ink-body whitespace-pre select-text",children:`L1: Board of Directors │ ├── Audit Committee │ └── Governance & Compliance Committee │ └── L2: Chief Executive Officer │ ├── L3: Chief Investment Officer │ ├── L4: Portfolio Management │ └── L4: Investment Research │ ├── L3: Chief Financial Officer │ ├── L4: Financial Reporting │ └── L4: Treasury │ ├── L3: Head of Operations │ └── L4: Operations Unit │ └── L3: Head of Compliance └── L4: Compliance & Internal Controls`})}),f.jsx("div",{className:"mt-3 flex flex-wrap gap-4",children:["L1 — Governance","L2 — Executive","L3 — Senior Management","L4 — Functional"].map(e=>f.jsxs("span",{className:"flex items-center gap-1.5 text-label text-ink-subtle",children:[f.jsx("span",{className:"w-2 h-px bg-border-connector inline-block"}),e]},e))})]})}const fs={id:"bod",label:"Board of Directors",sublabel:"L1 — Governance",level:1,children:[{id:"ceo",label:"Chief Executive Officer",sublabel:"L2 — Executive",level:2,children:[{id:"cio",label:"Chief Investment Officer",sublabel:"L3 — Executive",level:3,children:[{id:"pm",label:"Portfolio Management",sublabel:"L4 — Functional",level:4},{id:"ir",label:"Investment Research",sublabel:"L4 — Functional",level:4}]},{id:"cfo",label:"Chief Financial Officer",sublabel:"L3 — Executive",level:3,children:[{id:"fr",label:"Financial Reporting",sublabel:"L4 — Functional",level:4},{id:"tr",label:"Treasury",sublabel:"L4 — Functional",level:4}]},{id:"hoo",label:"Head of Operations",sublabel:"L3 — Executive",level:3,children:[{id:"ou",label:"Operations Unit",sublabel:"L4 — Functional",level:4}]},{id:"hoc",label:"Head of Compliance",sublabel:"L3 — Executive",level:3,children:[{id:"cc",label:"Compliance & Controls",sublabel:"L4 — Functional",level:4}]}]}]};function ol({node:e,onClick:t}){return f.jsxs("div",{className:"chart-node border border-border-structural bg-surface-white text-center cursor-pointer transition-colors duration-150 hover:bg-surface-grey",style:{width:200,padding:"10px 12px"},onClick:t,role:"button",tabIndex:0,onKeyDown:n=>n.key==="Enter"&&t(),"aria-label":`Navigate to ${e.label} in hierarchy`,children:[f.jsx("p",{className:"text-[13px] font-medium text-ink-primary leading-tight",children:e.label}),e.sublabel&&f.jsx("p",{className:"text-[11px] font-mono text-ink-muted mt-1",children:e.sublabel})]})}function ul(){const e=document.getElementById("structure");e&&e.scrollIntoView({behavior:"smooth",block:"start"})}function pm({node:e}){return f.jsxs("div",{className:"flex flex-col items-center",children:[f.jsx(ol,{node:e,onClick:ul}),e.children&&e.children.length>0&&f.jsxs(f.Fragment,{children:[f.jsx("div",{className:"w-px bg-border-connector",style:{height:20}}),f.jsx("div",{className:"flex items-start gap-0",children:e.children.map((t,n)=>f.jsxs("div",{className:"flex flex-col items-center",children:[f.jsxs("div",{className:"flex items-center",style:{height:1},children:[n===0&&e.children.length>1&&f.jsx("div",{style:{width:100,height:1},className:"bg-border-connector"}),n>0&&n1&&f.jsx("div",{style:{width:100,height:1},className:"bg-border-connector"})]}),f.jsx("div",{className:"w-px bg-border-connector",style:{height:16}}),f.jsx(ol,{node:t,onClick:ul})]},t.id))})]})]})}function mm(){const e=fs.children[0],t=e.children;return f.jsxs("section",{className:"max-w-register mx-auto px-6 pb-12",children:[f.jsxs("div",{className:"flex items-baseline gap-3 mb-5",children:[f.jsx("span",{className:"font-mono text-[11px] font-medium text-ink-subtle tracking-widest border border-border-structural px-2 py-0.5 bg-surface-grey",children:"§6"}),f.jsxs("div",{children:[f.jsx("h2",{className:"text-[17px] font-semibold text-ink-primary",children:"Organizational Chart"}),f.jsx("p",{className:"text-label text-ink-subtle mt-0.5",children:"Supporting visual — click any node to cross-reference the hierarchy register above"})]})]}),f.jsx("div",{className:"border border-border-structural bg-surface-grey p-6 overflow-x-auto",children:f.jsxs("div",{className:"flex flex-col items-center",style:{minWidth:900},children:[f.jsx(ol,{node:fs,onClick:ul}),f.jsx("div",{className:"w-px bg-border-connector",style:{height:24}}),f.jsx(ol,{node:e,onClick:ul}),f.jsx("div",{className:"w-px bg-border-connector",style:{height:24}}),f.jsxs("div",{className:"relative flex items-start justify-center",children:[f.jsx("div",{className:"absolute top-0 bg-border-connector",style:{height:1,left:"12.5%",right:"12.5%"}}),f.jsx("div",{className:"flex items-start gap-0",children:t.map(n=>f.jsxs("div",{className:"flex flex-col items-center",style:{width:220},children:[f.jsx("div",{className:"w-px bg-border-connector",style:{height:20}}),f.jsx(pm,{node:n})]},n.id))})]})]})}),f.jsx("p",{className:"text-label text-ink-muted mt-3",children:"Chart reflects the formal reporting structure as documented in the Authority & Reporting Register (§2). Click nodes to reference hierarchy register."})]})}function hm(){return f.jsxs("section",{className:"max-w-register mx-auto px-6 pb-12",children:[f.jsxs("div",{className:"flex items-baseline gap-3 mb-6",children:[f.jsx("span",{className:"font-mono text-[11px] font-medium text-ink-subtle tracking-widest border border-border-structural px-2 py-0.5 bg-surface-grey",children:"§7"}),f.jsx("h2",{className:"text-[17px] font-semibold text-ink-primary",children:"Governance Linkage"})]}),f.jsx("div",{className:"border border-border-structural p-6 bg-surface-grey max-w-reading",children:f.jsx("p",{className:"text-[14px] text-ink-body leading-relaxed",children:"The organizational structure operates under the oversight of the Board of Directors and its committees, ensuring accountability, reporting discipline, and alignment with governance standards applicable under Kuwait commercial law and Capital Markets Authority regulations. All structural changes are subject to formal Board approval and regulatory disclosure where required."})}),f.jsx("div",{className:"mt-4 grid grid-cols-1 sm:grid-cols-3 divide-y sm:divide-y-0 sm:divide-x divide-border-structural border border-border-structural",children:[{label:"Board of Directors",description:"Governance authority, strategic oversight, and final approval",href:"/about-us/board-of-directors/"},{label:"Executive Management",description:"Operational leadership and functional accountability",href:"/about-us/executive-management/"},{label:"Governance & Compliance",description:"Policy framework, regulatory compliance, and audit",href:"/about-us/governance/"}].map(e=>f.jsxs("div",{className:"px-5 py-5 bg-surface-white",children:[f.jsx("p",{className:"text-[13px] font-semibold text-ink-primary mb-1",children:e.label}),f.jsx("p",{className:"text-label text-ink-subtle leading-relaxed mb-3",children:e.description}),f.jsxs("a",{href:e.href,className:"inline-flex items-center gap-1.5 text-label font-medium text-ink-primary border-b border-ink-primary pb-px hover:text-ink-subtle hover:border-ink-subtle transition-colors duration-150",children:["View Register",f.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none","aria-hidden":"true",children:f.jsx("path",{d:"M2 5h6M5.5 2.5L8 5l-2.5 2.5",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"square"})})]})]},e.label))})]})}function vm(){const e=[{label:"Executive Management",href:"/about-us/executive-management/"},{label:"Board of Directors",href:"/about-us/board-of-directors/"},{label:"Financial Results",href:"/investor-relations/financial-results/"},{label:"Governance Framework",href:"/about-us/governance/"}];return f.jsxs("section",{className:"max-w-register mx-auto px-6 pb-12",children:[f.jsx("hr",{className:"border-t border-border-structural mb-8"}),f.jsx("div",{className:"flex items-baseline gap-3 mb-5",children:f.jsx("h3",{className:"text-[14px] font-semibold text-ink-primary uppercase tracking-widest",children:"Related Disclosures"})}),f.jsx("div",{className:"flex flex-wrap gap-0 border border-border-structural divide-x divide-border-structural",children:e.map(t=>f.jsx("a",{href:t.href,className:"px-5 py-3 text-td text-ink-body bg-surface-white hover:bg-surface-grey transition-colors duration-150 inline-block",children:t.label},t.label))})]})}function gm(){return f.jsx("section",{className:"max-w-register mx-auto px-6 pb-16",children:f.jsxs("div",{className:"border border-border-structural bg-surface-grey p-6 flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[f.jsxs("div",{children:[f.jsx("p",{className:"text-[13px] font-semibold text-ink-primary mb-1",children:"Investor & Governance Enquiries"}),f.jsx("p",{className:"text-td text-ink-subtle max-w-reading",children:"For further information regarding the organizational structure, reporting relationships, or governance documentation, please contact Almanza Investment Company."})]}),f.jsx("a",{href:"/contact/",className:"shrink-0 inline-block border border-ink-primary px-6 py-2.5 text-[13px] font-semibold text-ink-primary bg-surface-white hover:bg-ink-primary hover:text-white transition-colors duration-150 whitespace-nowrap",children:"Contact Us"})]})})}function ni(){return f.jsxs("div",{className:"min-h-screen bg-surface-white flex flex-col",children:[f.jsx(tm,{}),f.jsxs("main",{className:"flex-1",children:[f.jsx(rm,{}),f.jsx(lm,{}),f.jsx(um,{}),f.jsx(am,{}),f.jsx(fm,{}),f.jsx(dm,{}),f.jsx(mm,{}),f.jsx(hm,{}),f.jsx(vm,{}),f.jsx(gm,{})]}),f.jsx(nm,{})]})}function ym(){return f.jsx(bp,{children:f.jsxs(Zp,{children:[f.jsx(Or,{path:"/",element:f.jsx(ni,{})}),f.jsx(Or,{path:"/about-us/organization-chart",element:f.jsx(ni,{})}),f.jsx(Or,{path:"*",element:f.jsx(ni,{})})]})})}Cc(document.getElementById("root")).render(f.jsx(L.StrictMode,{children:f.jsx(ym,{})}));